import Layout from '@/layout'
export default [
  {
    path: '/employee',
    component: Layout,
    redirect: '/employee/index',
    name: 'employee',
    meta: { title: '老师管理', icon: 'example', roles: ['员工'] },
    children: [
      {
        path: 'index',
        name: 'employee-index',
        component: () => import('@/views/employee/index'),
        meta: { title: '老师列表', icon: 'form' }
      },
      {
        path: 'create',
        name: 'employee-create',
        component: () => import('@/views/employee/create'),
        meta: { title: '添加老师', icon: 'form' }
      }
    ]
  }
]
